package com.ls.blog.service;

import com.ls.blog.dto.Recodes;
import com.ls.blog.entity.Links;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lishun
 * @since 2022-01-14
 */
public interface TLinksService extends IService<Links> {

    Recodes<Links> pageLinks(Long current, Long size);

    List<Links> getLinksByName(String name);

    void updateLink(Links links);

    void deleteLinkById(Long id);

    Links getLinksById(Long id);
}

